<% if(!success) { %>
<div style="text-align: center; font-size: 20px; color: red;"><%= error %></div>
<% } %>
<script type="text/javascript">
    <% if(success) { %>
    window.opener && window.opener.refreshOfficialAccount && window.opener.refreshOfficialAccount(<%- JSON.stringify(data) %>);
    window.close();
    <% } %>

</script>